using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OA.Model.Config
{
    [Serializable]
    public class FeatureConfig
    {
        /// <summary>
        /// 是否性能统计
        /// </summary>
        public bool IsPerformance { get; set; }

        /// <summary>
        /// 是否开启即时通讯
        /// </summary>
        public bool IsChat { get; set; }

        /// <summary>
        /// 是否记录HQL
        /// </summary>
        public bool IsLogHQL { get; set; }

        /// <summary>
        /// 重复登陆,1:踢出,2:允许,3不允许
        /// </summary>
        public byte RepeatLogin { get; set; }

        /// <summary>
        /// 是否开启IP黑白名单
        /// </summary>
        public bool IsOpenIPBlackWhite { get; set; }

        /// <summary>
        /// 系统出错误是否自动发送邮件通知
        /// </summary>
        public bool IsErrorAutoSendMail { get; set; }
    }
}
